def userCheckLogin(name,passwrd):
    if name =="zhangsan" and passwrd=="888":
        return True
    else:
        raise ValueError("login faild \n user name or passwrd  input error!!");

result = userCheckLogin("zhangsan","8888")
if result:
    print("login successed")
